/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2016年7月5日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package obsver;

/**
 * @Type Subscriber
 * @Desc
 * @author boboge
 * @date 2016年7月5日
 * @Version V1.0
 */
public class Subscriber extends Observer {

    /**
     * @param s
     */
    public Subscriber(Subject s) {
        super(s);
    }

    /*
     * (non-Javadoc)
     * 
     * @see obsver.Observer#receiveMsg()
     */
    @Override
    void receiveMsg(String content) {
        System.out.println("订阅者" + this.getClass().hashCode() + "接受到了推送__" + content);
    }

}
